import { styled } from "styled-components";

export const UserNameWrapper = styled.div`
  color: var(--color-text);
 .userName-header {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 48px;
 }

 .userName-search {
    display: flex;
    position: relative;
    align-items: center;
    background-color: var(--color-primary-bg);
    border-radius: 6px;
    padding-left: 46px;
    height: 48px;
    width: 326px;

    .search-icon {
      position: absolute;
      left: 12px;
      top: 50%;
      transform: translateY(-50%);
      width: 24px;
      height: 24px;

      img {
        width: 100%;
        height: 100%;
      }
    }

    .userName-ipt {
      width: 100%;
      font-size: 24px;
      font-weight: 600;
      background-color: var(--color-primary-bg);
      color: var(--color-primary);
    }

    .userName-ipt::-webkit-input-placeholder{
      color: var(--color-primary);
      font-size: 26px;
      font-weight: 600;
      opacity:.8;
    }
 }
 
 .userName-text{
  margin-top: 18px;
  opacity: .8;
 }

 .search-userList {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin: 20px 0;

  .search-user{
    margin-right: 16px;
    margin-bottom: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 12px 12px 12px 16px;
    border-radius: 8px;
    width: 256px;
    font-size: 18px;
    font-weight: 600;
    transition: all .5s ease;

    &:hover {
      background-color: var(--color-secondary-bg);
    }

    .search-cover {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      margin-right: 8px;
    }
  }

   .searchUseRactive {
      color: var(--color-primary);
      background-color: var(--color-primary-bg) !important;
    }
 }

 .button-notarize {
  display: block;
  min-width: 40px;
  width: 40px;
  padding: 12px 18px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-primary);
  transition: .2s;
  border-radius: 5px;
  cursor: pointer;
  background-color: var(--color-primary-bg);

  &:hover {
    transform: scale(1.2);
  }
 }
`